From b35db9835e7c0f2be8fa93db8f1e07f8402ea923 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 9 Apr 2008 20:07:07 +0000 Subject: [PATCH] Tweak comment --- maintenance/populateParentId.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/populateParentId.php b/maintenance/populateParentId.php index 863d7edae6..4b73070eed 100644 --- a/maintenance/populateParentId.php +++ b/maintenance/populateParentId.php @@ -41,7 +41,7 @@ function populate_rev_parent_id( $db ) { foreach( $res as $row ) { # First, check rows with the same timestamp other than this one # with a smaller rev ID. The highest ID "wins". This avoids loops - # as either id or timestamp need to be going from parent_id to parent_id + # as timestamp can only decrease and never loops with IDs (from parent to parent) $previousID = $db->selectField( 'revision', 'rev_id', array( 'rev_page' => $row->rev_page, 'rev_timestamp' => $row->rev_timestamp, "rev_id < {$row->rev_id}" ), -- 2.20.1